
class UserInfo {
  String? cimUid;
  String? code;
  String? cover;
  String? createUser;
  int? flagOne;
  int? follows;
  String? guanJiaImage;
  String? headicon;
  String? motto;
  String? nickname;
  String? openimToken;
  String? phone;
  bool? showGuanJia;
  String? token;
  String? updateUser;

  UserInfo({this.cimUid, this.code, this.cover, this.createUser, this.flagOne, this.follows, this.guanJiaImage, this.headicon, this.motto, this.nickname, this.openimToken, this.phone, this.showGuanJia, this.token, this.updateUser});

  UserInfo.fromJson(Map<String, dynamic> json) {
    if(json["cimUid"] is String) {
      cimUid = json["cimUid"];
    }
    if(json["code"] is String) {
      code = json["code"];
    }
    if(json["cover"] is String) {
      cover = json["cover"];
    }
    if(json["createUser"] is String) {
      createUser = json["createUser"];
    }
    if(json["flagOne"] is int) {
      flagOne = json["flagOne"];
    }
    if(json["follows"] is int) {
      follows = json["follows"];
    }
    if(json["guanJiaImage"] is String) {
      guanJiaImage = json["guanJiaImage"];
    }
    if(json["headicon"] is String) {
      headicon = json["headicon"];
    }
    if(json["motto"] is String) {
      motto = json["motto"];
    }
    if(json["nickname"] is String) {
      nickname = json["nickname"];
    }
    if(json["openimToken"] is String) {
      openimToken = json["openimToken"];
    }
    if(json["phone"] is String) {
      phone = json["phone"];
    }
    if(json["showGuanJia"] is bool) {
      showGuanJia = json["showGuanJia"];
    }
    if(json["token"] is String) {
      token = json["token"];
    }
    if(json["updateUser"] is String) {
      updateUser = json["updateUser"];
    }
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> _data = <String, dynamic>{};
    _data["cimUid"] = cimUid;
    _data["code"] = code;
    _data["cover"] = cover;
    _data["createUser"] = createUser;
    _data["flagOne"] = flagOne;
    _data["follows"] = follows;
    _data["guanJiaImage"] = guanJiaImage;
    _data["headicon"] = headicon;
    _data["motto"] = motto;
    _data["nickname"] = nickname;
    _data["openimToken"] = openimToken;
    _data["phone"] = phone;
    _data["showGuanJia"] = showGuanJia;
    _data["token"] = token;
    _data["updateUser"] = updateUser;
    return _data;
  }
}